If initially the rod is vertical and hinged at end A